package at.fhooe.mcm.logic.network.events;

import at.fhooe.mcm.logic.event.Event;
import at.fhooe.mcm.logic.event.EventType;
import at.fhooe.mcm.logic.network.Peer;

public class PeerDisconnectedEvent extends Event
{

	private static final long		serialVersionUID	= 2846698490328789647L;
	public static final EventType	TYPE				= new EventType("PeerDisconnected");

	private Peer					m_peer;

	public PeerDisconnectedEvent(Peer peer)
	{
		m_peer = peer;
	}

	public Peer getPeer()
	{
		return m_peer;
	}

	@Override
	public EventType getType()
	{
		return TYPE;
	}

}
